

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>federatedml.tree package &mdash; FATE 1.0 documentation</title>
  

  
  
  
  

  
  <script type="text/javascript" src="_static/js/modernizr.min.js"></script>
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
        <script type="text/javascript" src="_static/jquery.js"></script>
        <script type="text/javascript" src="_static/underscore.js"></script>
        <script type="text/javascript" src="_static/doctools.js"></script>
        <script type="text/javascript" src="_static/language_data.js"></script>
    
    <script type="text/javascript" src="_static/js/theme.js"></script>

    

  
  <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" /> 
</head>

<body class="wy-body-for-nav">

   
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >
          

          
            <a href="index.html" class="icon icon-home"> FATE
          

          
          </a>

          
            
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <!-- Local TOC -->
              <div class="local-toc"><ul>
<li><a class="reference internal" href="#">federatedml.tree package</a><ul>
<li><a class="reference internal" href="#subpackages">Subpackages</a></li>
<li><a class="reference internal" href="#submodules">Submodules</a></li>
<li><a class="reference internal" href="#federatedml-tree-boosting-tree-module">federatedml.tree.boosting_tree module</a></li>
<li><a class="reference internal" href="#module-federatedml.tree.criterion">federatedml.tree.criterion module</a></li>
<li><a class="reference internal" href="#module-federatedml.tree.decision_tree">federatedml.tree.decision_tree module</a></li>
<li><a class="reference internal" href="#module-federatedml.tree.feature_histogram">federatedml.tree.feature_histogram module</a></li>
<li><a class="reference internal" href="#module-federatedml.tree.hetero_decision_tree_guest">federatedml.tree.hetero_decision_tree_guest module</a></li>
<li><a class="reference internal" href="#module-federatedml.tree.hetero_decision_tree_host">federatedml.tree.hetero_decision_tree_host module</a></li>
<li><a class="reference internal" href="#federatedml-tree-hetero-secureboosting-tree-guest-module">federatedml.tree.hetero_secureboosting_tree_guest module</a></li>
<li><a class="reference internal" href="#federatedml-tree-hetero-secureboosting-tree-host-module">federatedml.tree.hetero_secureboosting_tree_host module</a></li>
<li><a class="reference internal" href="#module-federatedml.tree.node">federatedml.tree.node module</a></li>
<li><a class="reference internal" href="#module-federatedml.tree.splitter">federatedml.tree.splitter module</a></li>
<li><a class="reference internal" href="#module-contents">Module contents</a></li>
</ul>
</li>
</ul>
</div>
            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="index.html">FATE</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="index.html">Docs</a> &raquo;</li>
        
      <li>federatedml.tree package</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
            <a href="_sources/federatedml.tree.rst.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="federatedml-tree-package">
<h1>federatedml.tree package<a class="headerlink" href="#federatedml-tree-package" title="Permalink to this headline">¶</a></h1>
<div class="section" id="subpackages">
<h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="federatedml.tree.images.html">federatedml.tree.images package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="federatedml.tree.images.html#module-contents">Module contents</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="federatedml.tree.test.html">federatedml.tree.test package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="federatedml.tree.test.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="federatedml.tree.test.html#federatedml-tree-test-criterion-test-module">federatedml.tree.test.criterion_test module</a></li>
<li class="toctree-l2"><a class="reference internal" href="federatedml.tree.test.html#federatedml-tree-test-feature-histogram-test-module">federatedml.tree.test.feature_histogram_test module</a></li>
<li class="toctree-l2"><a class="reference internal" href="federatedml.tree.test.html#federatedml-tree-test-hetero-secure-boost-guest-test-module">federatedml.tree.test.hetero_secure_boost_guest_test module</a></li>
<li class="toctree-l2"><a class="reference internal" href="federatedml.tree.test.html#federatedml-tree-test-hetero-secure-boost-host-test-module">federatedml.tree.test.hetero_secure_boost_host_test module</a></li>
<li class="toctree-l2"><a class="reference internal" href="federatedml.tree.test.html#federatedml-tree-test-hetero-secureboost-test-module">federatedml.tree.test.hetero_secureboost_test module</a></li>
<li class="toctree-l2"><a class="reference internal" href="federatedml.tree.test.html#federatedml-tree-test-node-test-module">federatedml.tree.test.node_test module</a></li>
<li class="toctree-l2"><a class="reference internal" href="federatedml.tree.test.html#module-contents">Module contents</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
</div>
<div class="section" id="federatedml-tree-boosting-tree-module">
<h2>federatedml.tree.boosting_tree module<a class="headerlink" href="#federatedml-tree-boosting-tree-module" title="Permalink to this headline">¶</a></h2>
</div>
<div class="section" id="module-federatedml.tree.criterion">
<span id="federatedml-tree-criterion-module"></span><h2>federatedml.tree.criterion module<a class="headerlink" href="#module-federatedml.tree.criterion" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="federatedml.tree.criterion.Criterion">
<em class="property">class </em><code class="descclassname">federatedml.tree.criterion.</code><code class="descname">Criterion</code><span class="sig-paren">(</span><em>criterion_params</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/criterion.html#Criterion"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.criterion.Criterion" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<dl class="staticmethod">
<dt id="federatedml.tree.criterion.Criterion.split_gain">
<em class="property">static </em><code class="descname">split_gain</code><span class="sig-paren">(</span><em>node_sum</em>, <em>left_node_sum</em>, <em>right_node_sum</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/criterion.html#Criterion.split_gain"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.criterion.Criterion.split_gain" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="federatedml.tree.criterion.XgboostCriterion">
<em class="property">class </em><code class="descclassname">federatedml.tree.criterion.</code><code class="descname">XgboostCriterion</code><span class="sig-paren">(</span><em>reg_lambda=0.1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/criterion.html#XgboostCriterion"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.criterion.XgboostCriterion" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#federatedml.tree.criterion.Criterion" title="federatedml.tree.criterion.Criterion"><code class="xref py py-class docutils literal notranslate"><span class="pre">federatedml.tree.criterion.Criterion</span></code></a></p>
<dl class="method">
<dt id="federatedml.tree.criterion.XgboostCriterion.node_gain">
<code class="descname">node_gain</code><span class="sig-paren">(</span><em>sum_grad</em>, <em>sum_hess</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/criterion.html#XgboostCriterion.node_gain"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.criterion.XgboostCriterion.node_gain" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.criterion.XgboostCriterion.node_weight">
<code class="descname">node_weight</code><span class="sig-paren">(</span><em>sum_grad</em>, <em>sum_hess</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/criterion.html#XgboostCriterion.node_weight"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.criterion.XgboostCriterion.node_weight" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.criterion.XgboostCriterion.split_gain">
<code class="descname">split_gain</code><span class="sig-paren">(</span><em>node_sum</em>, <em>left_node_sum</em>, <em>right_node_sum</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/criterion.html#XgboostCriterion.split_gain"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.criterion.XgboostCriterion.split_gain" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="module-federatedml.tree.decision_tree">
<span id="federatedml-tree-decision-tree-module"></span><h2>federatedml.tree.decision_tree module<a class="headerlink" href="#module-federatedml.tree.decision_tree" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="federatedml.tree.decision_tree.DecisionTree">
<em class="property">class </em><code class="descclassname">federatedml.tree.decision_tree.</code><code class="descname">DecisionTree</code><span class="sig-paren">(</span><em>tree_param</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/decision_tree.html#DecisionTree"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.decision_tree.DecisionTree" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<dl class="method">
<dt id="federatedml.tree.decision_tree.DecisionTree.fit">
<code class="descname">fit</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/decision_tree.html#DecisionTree.fit"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.decision_tree.DecisionTree.fit" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.decision_tree.DecisionTree.predict">
<code class="descname">predict</code><span class="sig-paren">(</span><em>data_inst</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/decision_tree.html#DecisionTree.predict"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.decision_tree.DecisionTree.predict" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="module-federatedml.tree.feature_histogram">
<span id="federatedml-tree-feature-histogram-module"></span><h2>federatedml.tree.feature_histogram module<a class="headerlink" href="#module-federatedml.tree.feature_histogram" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="federatedml.tree.feature_histogram.FeatureHistogram">
<em class="property">class </em><code class="descclassname">federatedml.tree.feature_histogram.</code><code class="descname">FeatureHistogram</code><a class="reference internal" href="_modules/federatedml/tree/feature_histogram.html#FeatureHistogram"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.feature_histogram.FeatureHistogram" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<dl class="staticmethod">
<dt id="federatedml.tree.feature_histogram.FeatureHistogram.accumulate_histogram">
<em class="property">static </em><code class="descname">accumulate_histogram</code><span class="sig-paren">(</span><em>histograms</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/feature_histogram.html#FeatureHistogram.accumulate_histogram"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.feature_histogram.FeatureHistogram.accumulate_histogram" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="federatedml.tree.feature_histogram.FeatureHistogram.aggregate_histogram">
<em class="property">static </em><code class="descname">aggregate_histogram</code><span class="sig-paren">(</span><em>batch_histogram1</em>, <em>batch_histogram2</em>, <em>node_map=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/feature_histogram.html#FeatureHistogram.aggregate_histogram"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.feature_histogram.FeatureHistogram.aggregate_histogram" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="federatedml.tree.feature_histogram.FeatureHistogram.batch_calculate_histogram">
<em class="property">static </em><code class="descname">batch_calculate_histogram</code><span class="sig-paren">(</span><em>kv_iterator</em>, <em>bin_split_points=None</em>, <em>bin_sparse_points=None</em>, <em>valid_features=None</em>, <em>node_map=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/feature_histogram.html#FeatureHistogram.batch_calculate_histogram"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.feature_histogram.FeatureHistogram.batch_calculate_histogram" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="federatedml.tree.feature_histogram.FeatureHistogram.calculate_histogram">
<em class="property">static </em><code class="descname">calculate_histogram</code><span class="sig-paren">(</span><em>data_bin</em>, <em>grad_and_hess</em>, <em>bin_split_points</em>, <em>bin_sparse_points</em>, <em>valid_features=None</em>, <em>node_map=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/feature_histogram.html#FeatureHistogram.calculate_histogram"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.feature_histogram.FeatureHistogram.calculate_histogram" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="module-federatedml.tree.hetero_decision_tree_guest">
<span id="federatedml-tree-hetero-decision-tree-guest-module"></span><h2>federatedml.tree.hetero_decision_tree_guest module<a class="headerlink" href="#module-federatedml.tree.hetero_decision_tree_guest" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest">
<em class="property">class </em><code class="descclassname">federatedml.tree.hetero_decision_tree_guest.</code><code class="descname">HeteroDecisionTreeGuest</code><span class="sig-paren">(</span><em>tree_param</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#federatedml.tree.decision_tree.DecisionTree" title="federatedml.tree.decision_tree.DecisionTree"><code class="xref py py-class docutils literal notranslate"><span class="pre">federatedml.tree.decision_tree.DecisionTree</span></code></a></p>
<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.convert_bin_to_real">
<code class="descname">convert_bin_to_real</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.convert_bin_to_real"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.convert_bin_to_real" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.decode">
<em class="property">static </em><code class="descname">decode</code><span class="sig-paren">(</span><em>dtype='feature_idx'</em>, <em>val=None</em>, <em>nid=None</em>, <em>split_maskdict=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.decode"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.decode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.decrypt">
<code class="descname">decrypt</code><span class="sig-paren">(</span><em>val</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.decrypt"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.decrypt" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.dispatch_all_node_to_root">
<code class="descname">dispatch_all_node_to_root</code><span class="sig-paren">(</span><em>root_id=0</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.dispatch_all_node_to_root"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.dispatch_all_node_to_root" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.dispatch_node">
<em class="property">static </em><code class="descname">dispatch_node</code><span class="sig-paren">(</span><em>value</em>, <em>tree_=None</em>, <em>decoder=None</em>, <em>split_maskdict=None</em>, <em>bin_sparse_points=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.dispatch_node"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.dispatch_node" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.encode">
<code class="descname">encode</code><span class="sig-paren">(</span><em>etype='feature_idx'</em>, <em>val=None</em>, <em>nid=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.encode"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.encode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.encrypt">
<code class="descname">encrypt</code><span class="sig-paren">(</span><em>val</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.encrypt"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.encrypt" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.encrypt_grad_and_hess">
<code class="descname">encrypt_grad_and_hess</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.encrypt_grad_and_hess"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.encrypt_grad_and_hess" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.federated_find_split">
<code class="descname">federated_find_split</code><span class="sig-paren">(</span><em>dep=-1</em>, <em>batch=-1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.federated_find_split"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.federated_find_split" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.find_best_split_guest_and_host">
<code class="descname">find_best_split_guest_and_host</code><span class="sig-paren">(</span><em>splitinfo_guest_host</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.find_best_split_guest_and_host"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.find_best_split_guest_and_host" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.find_host_split">
<code class="descname">find_host_split</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.find_host_split"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.find_host_split" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.fit">
<code class="descname">fit</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.fit"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.fit" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.get_feature_importance">
<code class="descname">get_feature_importance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.get_feature_importance"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.get_feature_importance" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.get_grad_hess_sum">
<code class="descname">get_grad_hess_sum</code><span class="sig-paren">(</span><em>grad_and_hess_table</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.get_grad_hess_sum"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.get_grad_hess_sum" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.get_histograms">
<code class="descname">get_histograms</code><span class="sig-paren">(</span><em>node_map={}</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.get_histograms"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.get_histograms" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.get_model">
<code class="descname">get_model</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.get_model"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.get_model" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.get_model_meta">
<code class="descname">get_model_meta</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.get_model_meta"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.get_model_meta" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.get_model_param">
<code class="descname">get_model_param</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.get_model_param"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.get_model_param" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.load_model">
<code class="descname">load_model</code><span class="sig-paren">(</span><em>model_meta=None</em>, <em>model_param=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.load_model"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.load_model" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.merge_splitinfo">
<code class="descname">merge_splitinfo</code><span class="sig-paren">(</span><em>splitinfo_guest</em>, <em>splitinfo_host</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.merge_splitinfo"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.merge_splitinfo" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.predict">
<code class="descname">predict</code><span class="sig-paren">(</span><em>data_inst</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.predict"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.predict" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.redispatch_node">
<code class="descname">redispatch_node</code><span class="sig-paren">(</span><em>dep=-1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.redispatch_node"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.redispatch_node" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.set_encrypted_mode_calculator">
<code class="descname">set_encrypted_mode_calculator</code><span class="sig-paren">(</span><em>encrypted_mode_calculator</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.set_encrypted_mode_calculator"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.set_encrypted_mode_calculator" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.set_encrypter">
<code class="descname">set_encrypter</code><span class="sig-paren">(</span><em>encrypter</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.set_encrypter"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.set_encrypter" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.set_flowid">
<code class="descname">set_flowid</code><span class="sig-paren">(</span><em>flowid=0</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.set_flowid"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.set_flowid" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.set_inputinfo">
<code class="descname">set_inputinfo</code><span class="sig-paren">(</span><em>data_bin=None</em>, <em>grad_and_hess=None</em>, <em>bin_split_points=None</em>, <em>bin_sparse_points=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.set_inputinfo"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.set_inputinfo" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.set_model_meta">
<code class="descname">set_model_meta</code><span class="sig-paren">(</span><em>model_meta</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.set_model_meta"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.set_model_meta" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.set_model_param">
<code class="descname">set_model_param</code><span class="sig-paren">(</span><em>model_param</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.set_model_param"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.set_model_param" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.set_runtime_idx">
<code class="descname">set_runtime_idx</code><span class="sig-paren">(</span><em>runtime_idx</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.set_runtime_idx"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.set_runtime_idx" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.set_valid_features">
<code class="descname">set_valid_features</code><span class="sig-paren">(</span><em>valid_features=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.set_valid_features"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.set_valid_features" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_data_predicted_by_host">
<code class="descname">sync_data_predicted_by_host</code><span class="sig-paren">(</span><em>send_times</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.sync_data_predicted_by_host"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_data_predicted_by_host" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_dispatch_node_host">
<code class="descname">sync_dispatch_node_host</code><span class="sig-paren">(</span><em>dispatch_guest_data</em>, <em>dep=-1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.sync_dispatch_node_host"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_dispatch_node_host" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_dispatch_node_host_result">
<code class="descname">sync_dispatch_node_host_result</code><span class="sig-paren">(</span><em>dep=-1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.sync_dispatch_node_host_result"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_dispatch_node_host_result" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_encrypted_grad_and_hess">
<code class="descname">sync_encrypted_grad_and_hess</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.sync_encrypted_grad_and_hess"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_encrypted_grad_and_hess" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_encrypted_splitinfo_host">
<code class="descname">sync_encrypted_splitinfo_host</code><span class="sig-paren">(</span><em>dep=-1</em>, <em>batch=-1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.sync_encrypted_splitinfo_host"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_encrypted_splitinfo_host" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_federated_best_splitinfo_host">
<code class="descname">sync_federated_best_splitinfo_host</code><span class="sig-paren">(</span><em>federated_best_splitinfo_host</em>, <em>dep=-1</em>, <em>batch=-1</em>, <em>idx=-1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.sync_federated_best_splitinfo_host"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_federated_best_splitinfo_host" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_final_split_host">
<code class="descname">sync_final_split_host</code><span class="sig-paren">(</span><em>dep=-1</em>, <em>batch=-1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.sync_final_split_host"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_final_split_host" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_node_positions">
<code class="descname">sync_node_positions</code><span class="sig-paren">(</span><em>dep</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.sync_node_positions"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_node_positions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_predict_data">
<code class="descname">sync_predict_data</code><span class="sig-paren">(</span><em>predict_data</em>, <em>send_times</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.sync_predict_data"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_predict_data" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_predict_finish_tag">
<code class="descname">sync_predict_finish_tag</code><span class="sig-paren">(</span><em>finish_tag</em>, <em>send_times</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.sync_predict_finish_tag"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_predict_finish_tag" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_tree">
<code class="descname">sync_tree</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.sync_tree"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_tree" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_tree_node_queue">
<code class="descname">sync_tree_node_queue</code><span class="sig-paren">(</span><em>tree_node_queue</em>, <em>dep=-1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.sync_tree_node_queue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.sync_tree_node_queue" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.traverse_tree">
<em class="property">static </em><code class="descname">traverse_tree</code><span class="sig-paren">(</span><em>predict_state</em>, <em>data_inst</em>, <em>tree_=None</em>, <em>decoder=None</em>, <em>split_maskdict=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.traverse_tree"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.traverse_tree" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.update_feature_importance">
<code class="descname">update_feature_importance</code><span class="sig-paren">(</span><em>splitinfo</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.update_feature_importance"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.update_feature_importance" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.update_tree_node_queue">
<code class="descname">update_tree_node_queue</code><span class="sig-paren">(</span><em>splitinfos</em>, <em>max_depth_reach</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_guest.html#HeteroDecisionTreeGuest.update_tree_node_queue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_guest.HeteroDecisionTreeGuest.update_tree_node_queue" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="module-federatedml.tree.hetero_decision_tree_host">
<span id="federatedml-tree-hetero-decision-tree-host-module"></span><h2>federatedml.tree.hetero_decision_tree_host module<a class="headerlink" href="#module-federatedml.tree.hetero_decision_tree_host" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost">
<em class="property">class </em><code class="descclassname">federatedml.tree.hetero_decision_tree_host.</code><code class="descname">HeteroDecisionTreeHost</code><span class="sig-paren">(</span><em>tree_param</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#federatedml.tree.decision_tree.DecisionTree" title="federatedml.tree.decision_tree.DecisionTree"><code class="xref py py-class docutils literal notranslate"><span class="pre">federatedml.tree.decision_tree.DecisionTree</span></code></a></p>
<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.convert_bin_to_real">
<code class="descname">convert_bin_to_real</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.convert_bin_to_real"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.convert_bin_to_real" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.decode">
<em class="property">static </em><code class="descname">decode</code><span class="sig-paren">(</span><em>dtype='feature_idx'</em>, <em>val=None</em>, <em>nid=None</em>, <em>split_maskdict=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.decode"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.decode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.dispatch_node">
<em class="property">static </em><code class="descname">dispatch_node</code><span class="sig-paren">(</span><em>value1</em>, <em>value2</em>, <em>sitename=None</em>, <em>decoder=None</em>, <em>split_maskdict=None</em>, <em>bin_sparse_points=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.dispatch_node"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.dispatch_node" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.encode">
<code class="descname">encode</code><span class="sig-paren">(</span><em>etype='feature_idx'</em>, <em>val=None</em>, <em>nid=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.encode"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.encode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.find_dispatch">
<code class="descname">find_dispatch</code><span class="sig-paren">(</span><em>dispatch_node_host</em>, <em>dep=-1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.find_dispatch"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.find_dispatch" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.fit">
<code class="descname">fit</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.fit"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.fit" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.get_histograms">
<code class="descname">get_histograms</code><span class="sig-paren">(</span><em>node_map={}</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.get_histograms"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.get_histograms" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.get_model">
<code class="descname">get_model</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.get_model"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.get_model" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.get_model_meta">
<code class="descname">get_model_meta</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.get_model_meta"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.get_model_meta" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.get_model_param">
<code class="descname">get_model_param</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.get_model_param"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.get_model_param" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.load_model">
<code class="descname">load_model</code><span class="sig-paren">(</span><em>model_meta=None</em>, <em>model_param=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.load_model"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.load_model" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.predict">
<code class="descname">predict</code><span class="sig-paren">(</span><em>data_inst</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.predict"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.predict" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.remove_duplicated_split_nodes">
<code class="descname">remove_duplicated_split_nodes</code><span class="sig-paren">(</span><em>split_nid_used</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.remove_duplicated_split_nodes"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.remove_duplicated_split_nodes" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.set_flowid">
<code class="descname">set_flowid</code><span class="sig-paren">(</span><em>flowid=0</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.set_flowid"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.set_flowid" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.set_inputinfo">
<code class="descname">set_inputinfo</code><span class="sig-paren">(</span><em>data_bin=None</em>, <em>grad_and_hess=None</em>, <em>bin_split_points=None</em>, <em>bin_sparse_points=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.set_inputinfo"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.set_inputinfo" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.set_model_meta">
<code class="descname">set_model_meta</code><span class="sig-paren">(</span><em>model_meta</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.set_model_meta"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.set_model_meta" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.set_model_param">
<code class="descname">set_model_param</code><span class="sig-paren">(</span><em>model_param</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.set_model_param"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.set_model_param" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.set_runtime_idx">
<code class="descname">set_runtime_idx</code><span class="sig-paren">(</span><em>runtime_idx</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.set_runtime_idx"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.set_runtime_idx" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.set_valid_features">
<code class="descname">set_valid_features</code><span class="sig-paren">(</span><em>valid_features=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.set_valid_features"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.set_valid_features" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_data_predicted_by_host">
<code class="descname">sync_data_predicted_by_host</code><span class="sig-paren">(</span><em>predict_data</em>, <em>send_times</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.sync_data_predicted_by_host"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_data_predicted_by_host" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_dispatch_node_host">
<code class="descname">sync_dispatch_node_host</code><span class="sig-paren">(</span><em>dep</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.sync_dispatch_node_host"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_dispatch_node_host" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_dispatch_node_host_result">
<code class="descname">sync_dispatch_node_host_result</code><span class="sig-paren">(</span><em>dispatch_node_host_result</em>, <em>dep=-1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.sync_dispatch_node_host_result"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_dispatch_node_host_result" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_encrypted_grad_and_hess">
<code class="descname">sync_encrypted_grad_and_hess</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.sync_encrypted_grad_and_hess"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_encrypted_grad_and_hess" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_encrypted_splitinfo_host">
<code class="descname">sync_encrypted_splitinfo_host</code><span class="sig-paren">(</span><em>encrypted_splitinfo_host</em>, <em>dep=-1</em>, <em>batch=-1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.sync_encrypted_splitinfo_host"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_encrypted_splitinfo_host" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_federated_best_splitinfo_host">
<code class="descname">sync_federated_best_splitinfo_host</code><span class="sig-paren">(</span><em>dep=-1</em>, <em>batch=-1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.sync_federated_best_splitinfo_host"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_federated_best_splitinfo_host" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_final_splitinfo_host">
<code class="descname">sync_final_splitinfo_host</code><span class="sig-paren">(</span><em>splitinfo_host</em>, <em>federated_best_splitinfo_host</em>, <em>dep=-1</em>, <em>batch=-1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.sync_final_splitinfo_host"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_final_splitinfo_host" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_node_positions">
<code class="descname">sync_node_positions</code><span class="sig-paren">(</span><em>dep=-1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.sync_node_positions"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_node_positions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_predict_data">
<code class="descname">sync_predict_data</code><span class="sig-paren">(</span><em>recv_times</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.sync_predict_data"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_predict_data" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_predict_finish_tag">
<code class="descname">sync_predict_finish_tag</code><span class="sig-paren">(</span><em>recv_times</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.sync_predict_finish_tag"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_predict_finish_tag" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_tree">
<code class="descname">sync_tree</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.sync_tree"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_tree" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_tree_node_queue">
<code class="descname">sync_tree_node_queue</code><span class="sig-paren">(</span><em>dep=-1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.sync_tree_node_queue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.sync_tree_node_queue" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.traverse_tree">
<em class="property">static </em><code class="descname">traverse_tree</code><span class="sig-paren">(</span><em>predict_state</em>, <em>data_inst</em>, <em>tree_=None</em>, <em>decoder=None</em>, <em>split_maskdict=None</em>, <em>sitename='host'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/hetero_decision_tree_host.html#HeteroDecisionTreeHost.traverse_tree"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.hetero_decision_tree_host.HeteroDecisionTreeHost.traverse_tree" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="federatedml-tree-hetero-secureboosting-tree-guest-module">
<h2>federatedml.tree.hetero_secureboosting_tree_guest module<a class="headerlink" href="#federatedml-tree-hetero-secureboosting-tree-guest-module" title="Permalink to this headline">¶</a></h2>
</div>
<div class="section" id="federatedml-tree-hetero-secureboosting-tree-host-module">
<h2>federatedml.tree.hetero_secureboosting_tree_host module<a class="headerlink" href="#federatedml-tree-hetero-secureboosting-tree-host-module" title="Permalink to this headline">¶</a></h2>
</div>
<div class="section" id="module-federatedml.tree.node">
<span id="federatedml-tree-node-module"></span><h2>federatedml.tree.node module<a class="headerlink" href="#module-federatedml.tree.node" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="federatedml.tree.node.Node">
<em class="property">class </em><code class="descclassname">federatedml.tree.node.</code><code class="descname">Node</code><span class="sig-paren">(</span><em>id=None</em>, <em>sitename='guest'</em>, <em>fid=None</em>, <em>bid=None</em>, <em>weight=0</em>, <em>is_leaf=False</em>, <em>sum_grad=None</em>, <em>sum_hess=None</em>, <em>left_nodeid=-1</em>, <em>right_nodeid=-1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/node.html#Node"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.node.Node" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
</dd></dl>

<dl class="class">
<dt id="federatedml.tree.node.SplitInfo">
<em class="property">class </em><code class="descclassname">federatedml.tree.node.</code><code class="descname">SplitInfo</code><span class="sig-paren">(</span><em>sitename='guest'</em>, <em>best_fid=None</em>, <em>best_bid=None</em>, <em>sum_grad=0</em>, <em>sum_hess=0</em>, <em>gain=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/node.html#SplitInfo"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.node.SplitInfo" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
</dd></dl>

</div>
<div class="section" id="module-federatedml.tree.splitter">
<span id="federatedml-tree-splitter-module"></span><h2>federatedml.tree.splitter module<a class="headerlink" href="#module-federatedml.tree.splitter" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="federatedml.tree.splitter.Splitter">
<em class="property">class </em><code class="descclassname">federatedml.tree.splitter.</code><code class="descname">Splitter</code><span class="sig-paren">(</span><em>criterion_method, criterion_params=[0, 1], min_impurity_split=0.01, min_sample_split=2, min_leaf_node=1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/splitter.html#Splitter"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.splitter.Splitter" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<dl class="method">
<dt id="federatedml.tree.splitter.Splitter.find_split">
<code class="descname">find_split</code><span class="sig-paren">(</span><em>histograms</em>, <em>valid_features</em>, <em>partitions=1</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/splitter.html#Splitter.find_split"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.splitter.Splitter.find_split" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.splitter.Splitter.find_split_host">
<code class="descname">find_split_host</code><span class="sig-paren">(</span><em>histograms</em>, <em>valid_features</em>, <em>partitions=1</em>, <em>sitename='host'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/splitter.html#Splitter.find_split_host"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.splitter.Splitter.find_split_host" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.splitter.Splitter.find_split_single_histogram_guest">
<code class="descname">find_split_single_histogram_guest</code><span class="sig-paren">(</span><em>histogram</em>, <em>valid_features</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/splitter.html#Splitter.find_split_single_histogram_guest"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.splitter.Splitter.find_split_single_histogram_guest" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.splitter.Splitter.find_split_single_histogram_host">
<code class="descname">find_split_single_histogram_host</code><span class="sig-paren">(</span><em>histogram</em>, <em>valid_features</em>, <em>sitename</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/splitter.html#Splitter.find_split_single_histogram_host"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.splitter.Splitter.find_split_single_histogram_host" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.splitter.Splitter.node_gain">
<code class="descname">node_gain</code><span class="sig-paren">(</span><em>grad</em>, <em>hess</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/splitter.html#Splitter.node_gain"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.splitter.Splitter.node_gain" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.splitter.Splitter.node_weight">
<code class="descname">node_weight</code><span class="sig-paren">(</span><em>grad</em>, <em>hess</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/splitter.html#Splitter.node_weight"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.splitter.Splitter.node_weight" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.tree.splitter.Splitter.split_gain">
<code class="descname">split_gain</code><span class="sig-paren">(</span><em>sum_grad</em>, <em>sum_hess</em>, <em>sum_grad_l</em>, <em>sum_hess_l</em>, <em>sum_grad_r</em>, <em>sum_hess_r</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/tree/splitter.html#Splitter.split_gain"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.tree.splitter.Splitter.split_gain" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="module-contents">
<h2>Module contents<a class="headerlink" href="#module-contents" title="Permalink to this headline">¶</a></h2>
</div>
</div>


           </div>
           
          </div>
          <footer>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2019, FATE_TEAM

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
   

</body>
</html>